Compile Svelte in your head
Compile Svelte in your head (Part 1)
SvelteJavaScript
Compile Svelte in your head (Part 2)
SvelteJavaScript
Compile Svelte in your head (Part 3)
SvelteJavaScript
Compile Svelte in your head (Part 4)
SvelteJavaScript
Compile Svelte in your head
SvelteJavaScript
Extract parameter types from string literal types with TypeScript
Parse and derive types from string literal types in TypeScript using the Template Literal Types, turning `'/purchase/[shopid]/[itemid]/args/[...args]'` into `{ shopid: number, itemid: number, args: string[] }`
typescripttemplate literal typeconditional type